<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>grub2</Name>
        <Homepage>http://www.gnu.org/software/grub/</Homepage>
        <Packager>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <IsA>app:gui</IsA>
        <Summary>GNU GRUB is a Multiboot boot loader.</Summary>
        <Description>GNU GRUB (short for GNU GRand Unified Bootloader) is a boot loader package from the GNU Project.</Description>
        <Archive sha1sum="c9f93f1e195ec7a5a21d36a13b469788c0b29f0f" type="tarxz">https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz</Archive>
<!--         <Archive sha1sum="4ec712aced1c2b4cb6cd1cbd83fc2154249d6977" type="tarxz" target="grub-2.06/grub-extras">https://sourceforge.net/projects/pisilinux/files/source/grub2_extras_915resolution_r10.tar.xz</Archive> -->
        <Archive sha1sum="989a213aa9ccaf026ed4e7774acc455361c5c15b" type="gz">https://ftp.gnu.org/gnu/unifont/unifont-15.0.01/unifont-15.0.01.bdf.gz</Archive>
<!--         <Archive sha1sum="30797ba7a86fc32213b9ae994c9fa45f37d01170" type="gz">http://ftp.gnu.org/gnu/unifont/unifont-6.3.20131217/unifont-6.3.20131217.bdf.gz</Archive> -->
        <Archive sha1sum="f5103c1f354b5e48fc8265cf04d0818da7166d98" type="targz" target="grub-2.06/themes">https://github.com/erkanisik1/PisiNar-Grub2-Themes/archive/refs/tags/pisinar-grub2-theme-v1.3.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>git</Dependency>
            <Dependency>autogen-devel</Dependency>
            <Dependency>binutils</Dependency>
            <Dependency>bison</Dependency>
            <Dependency>flex</Dependency>
            <Dependency>gcc</Dependency>
            <Dependency>help2man</Dependency>
            <Dependency>texinfo</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>fuse-devel</Dependency>
            <Dependency>lvm2-devel</Dependency>
            <Dependency>device-mapper-devel</Dependency>
            <Dependency>gettext-devel</Dependency>
            <Dependency>noto-fonts</Dependency>
            <Dependency>efivar-devel</Dependency>
            <Dependency>efibootmgr-devel</Dependency>
            <Dependency>mtools</Dependency>
            <Dependency>dosfstools</Dependency>
        </BuildDependencies>
        <Replaces>
            <Package>grub</Package>
        </Replaces>
        <Patches>
            <Patch level="1">gfxpayload.patch</Patch>
            <Patch level="1">grub-2.02_beta2-KERNEL_GLOBS.patch</Patch>
            <Patch level="1">grub-mkconfig.patch</Patch>
            <Patch>pisi_name_and_initramfs.patch</Patch>

            <Patch level="1">grub-2.06-test-words.patch</Patch>
<!--             <Patch level="1">grub-mkconfig_lib.patch</Patch> -->

            <Patch level="1">0001-Revert-templates-Fix-user-facing-typo-with-an-incorr.patch</Patch>
            <Patch level="1">0002-Revert-templates-Properly-disable-the-os-prober-by-d.patch</Patch>
            <Patch level="1">0003-Revert-templates-Disable-the-os-prober-by-default.patch</Patch>
            <Patch level="1">0202-templates-Check-for-EFI-at-runtime-instead-of-config.patch</Patch>
            <Patch level="1">0203-efi-Print-an-error-if-boot-to-firmware-setup-is-not-.patch</Patch>
<!--             <Patch level="1">0204-arm64-Fix-EFI-loader-kernel-image-allocation.patch</Patch> -->
<!--             <Patch level="1">0205-normal-main-Discover-the-device-to-read-the-config-f.patch</Patch> -->
            <Patch level="1">0206-powerpc-adjust-setting-of-prefix-for-signed-binary-c.patch</Patch>
            <Patch level="1">0207-powerpc-fix-prefix-signed-grub-special-case-for-Powe.patch</Patch>
<!--             <Patch level="1">0208-Arm-check-for-the-PE-magic-for-the-compiled-arch.patch</Patch> -->
<!--             <Patch level="1">0209-fs-xfs-Fix-unreadable-filesystem-with-v4-superblock.patch</Patch> -->
<!--             <Patch level="1">0210-Print-module-name-on-license-check-failure.patch</Patch> -->
            <Patch level="1">0211-powerpc-ieee1275-load-grub-at-4MB-not-2MB.patch</Patch>
<!--             <Patch level="1">Allow_GRUB_to_mount_ext234_filesystems_that_have_the_encryption_feature.patch</Patch> -->
<!--             <Patch level="1">tsc-Change-default-tsc-calibration-method-to-pmtimer-on-EFI-systems.patch</Patch> -->
<!--             <Patch level="1">intel-ucode.patch</Patch> -->
<!--             <Patch level="1">2.02-gcc8.patch</Patch> -->
<!--             <Patch level="1">0001-grub-install-fix-inverted-test-for-NLS-enabled-when-.patch</Patch> -->
<!--             <Patch level="1">0006-BootHole.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>grub2</Name>
        <RuntimeDependencies>
            <Dependency>freetype</Dependency>
            <Dependency>xz</Dependency>
            <Dependency>fuse</Dependency>
            <Dependency>lvm2</Dependency>
            <Dependency>device-mapper</Dependency>
            <Dependency>mtools</Dependency>
            <Dependency>os-prober</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib/grub/i386-pc/</Path>
            <Path fileType="library">/usr/lib/grub/x86_64-efi</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/grub</Path>
            <Path fileType="data">/usr/share/info</Path>
            <Path fileType="data">/boot/grub2</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man/man1</Path>
            <Path fileType="man">/usr/share/man/man8</Path>
            <Path fileType="config">/etc/bash_completion.d</Path>
            <Path fileType="config">/etc/grub.d</Path>
            <Path fileType="config">/etc/default</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/grub/pisi-grub-bg.png">pisi-grub-bg.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/default/grub">grub-defaults</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/etc/grub.d/30_uefi-firmware">30_uefi-firmware</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/update-grub">update-grub</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/etc/grub.d/30_os-prober">30_os-prober2</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="26">
            <Date>2022-10-26</Date>
            <Version>2.06</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="25">
            <Date>2022-09-26</Date>
            <Version>2.06</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2022-09-02</Date>
            <Version>2.06</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2022-05-15</Date>
            <Version>2.06</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2021-11-11</Date>
            <Version>2.06</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2021-08-22</Date>
            <Version>2.06</Version>
            <Comment>Rebuild efibootmgr.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2021-07-17</Date>
            <Version>2.06</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2021-07-16</Date>
            <Version>2.04</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2020-12-09</Date>
            <Version>2.04</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2020-04-09</Date>
            <Version>2.04</Version>
            <Comment>Rebuild unicode</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2020-03-28</Date>
            <Version>2.04</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2020-01-18</Date>
            <Version>2.02</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2019-10-09</Date>
            <Version>2.02</Version>
            <Comment>revert 2.02</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2019-09-06</Date>
            <Version>2.04</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2019-10-05</Date>
            <Version>2.02</Version>
            <Comment>theme add</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2018-07-15</Date>
            <Version>2.02</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2017-12-25</Date>
            <Version>2.02</Version>
            <Comment>Patch for ext234.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2017-12-06</Date>
            <Version>2.02</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
         <Update release="8">
            <Date>2017-06-19</Date>
            <Version>2.02_rc2</Version>
            <Comment>version B.</Comment>
            <Name>Ali Algul</Name>
            <Email>aligulle3801@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2017-03-04</Date>
            <Version>2.02_beta3</Version>
            <Comment>update.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-03-04</Date>
            <Version>2.02_beta2</Version>
            <Comment>Rebuild.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2016-08-21</Date>
            <Version>2.02_beta2</Version>
            <Comment>New theme</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-07-30</Date>
            <Version>2.02_beta2</Version>
            <Comment>Add windows 42_custom remove</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-07-12</Date>
            <Version>2.02_beta2</Version>
            <Comment>Add windows 42_custom</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-25</Date>
            <Version>2.02_beta2</Version>
            <Comment>Add efi</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>2.02_beta2</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
         </Update>
         <Update release="1">
            <Date>2016-04-20</Date>
            <Version>2.02_beta2</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
